package com.ruoyi.coal.modules.coalpile.domain.vo;

public class AttributeValueVo {
    private int yardId;

    private int pileId;

    private double vlaue;

    private double weight;

    private double useWeight;

    private String pileName;

    private String batch;

    public void setYardId(int yardId) {
        this.yardId = yardId;
    }

    public void setPileId(int pileId) {
        this.pileId = pileId;
    }

    public void setVlaue(double vlaue) {
        this.vlaue = vlaue;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public void setUseWeight(double useWeight) {
        this.useWeight = useWeight;
    }

    public void setPileName(String pileName) {
        this.pileName = pileName;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.AttributeValueVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.AttributeValueVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.AttributeValueVo)o;
        if (!other.canEqual(this))
            return false;
        if (getYardId() != other.getYardId())
            return false;
        if (getPileId() != other.getPileId())
            return false;
        if (Double.compare(getVlaue(), other.getVlaue()) != 0)
            return false;
        if (Double.compare(getWeight(), other.getWeight()) != 0)
            return false;
        if (Double.compare(getUseWeight(), other.getUseWeight()) != 0)
            return false;
        Object this$pileName = getPileName(), other$pileName = other.getPileName();
        if ((this$pileName == null) ? (other$pileName != null) : !this$pileName.equals(other$pileName))
            return false;
        Object this$batch = getBatch(), other$batch = other.getBatch();
        return !((this$batch == null) ? (other$batch != null) : !this$batch.equals(other$batch));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.AttributeValueVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + getYardId();
        result = result * 59 + getPileId();
        long $vlaue = Double.doubleToLongBits(getVlaue());
        result = result * 59 + (int)($vlaue >>> 32L ^ $vlaue);
        long $weight = Double.doubleToLongBits(getWeight());
        result = result * 59 + (int)($weight >>> 32L ^ $weight);
        long $useWeight = Double.doubleToLongBits(getUseWeight());
        result = result * 59 + (int)($useWeight >>> 32L ^ $useWeight);
        Object $pileName = getPileName();
        result = result * 59 + (($pileName == null) ? 43 : $pileName.hashCode());
        Object $batch = getBatch();
        return result * 59 + (($batch == null) ? 43 : $batch.hashCode());
    }

    public String toString() {
        return "AttributeValueVo(yardId=" + getYardId() + ", pileId=" + getPileId() + ", vlaue=" + getVlaue() + ", weight=" + getWeight() + ", useWeight=" + getUseWeight() + ", pileName=" + getPileName() + ", batch=" + getBatch() + ")";
    }

    public AttributeValueVo(int yardId, int pileId, double vlaue, double weight, double useWeight, String pileName, String batch) {
        this.yardId = yardId;
        this.pileId = pileId;
        this.vlaue = vlaue;
        this.weight = weight;
        this.useWeight = useWeight;
        this.pileName = pileName;
        this.batch = batch;
    }

    public AttributeValueVo() {}

    public int getYardId() {
        return this.yardId;
    }

    public int getPileId() {
        return this.pileId;
    }

    public double getVlaue() {
        return this.vlaue;
    }

    public double getWeight() {
        return this.weight;
    }

    public double getUseWeight() {
        return this.useWeight;
    }

    public String getPileName() {
        return this.pileName;
    }

    public String getBatch() {
        return this.batch;
    }
}

